vulkancontext: Add new error enum
authorTimm Bäder <mail@baedert.org>
Tue, 10 Apr 2018 07:53:48 +0000 (09:53 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 10 Apr 2018 07:53:48 +0000 (09:53 +0200)
gdk/gdkvulkancontext.c

index fec3ddef13d999d2d84867d37b1484cebd62b43c..ef5f0d808f5397e1d978912db5961b64b8a0bf12 100644 (file)
@@ -185,6 +185,10 @@ gdk_vulkan_strerror (VkResult result)
 #if VK_HEADER_VERSION >= 64
     case VK_ERROR_NOT_PERMITTED_EXT:
       return "The caller does not have sufficient privileges.";
+#endif
+#if VK_HEADER_VERSION >= 72
+    case VK_ERROR_FRAGMENTATION_EXT:
+      return "A descriptor pool creation has failed due to fragmentation";
 #endif
     case VK_RESULT_RANGE_SIZE:
     case VK_RESULT_MAX_ENUM: